
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

package com.hlkj.pay.app.merchant.ext;

import javax.servlet.http.HttpServletRequest;

import com.hlkj.framework.common.pojo.CommonResult;
import com.hlkj.framework.extension.ExtensionPointI;
import com.hlkj.pay.app.merchant.ext.dto.order.ChannelRiskOrderContext;
import com.hlkj.pay.dto.order.notify.OrderRiskNotifyDto;

/**
 * 商户投诉
 * 
 * @author HlpayTeam
 * @date 2024/09/12 11:39
 */
public interface ChannelMerchantRiskExtPt extends ExtensionPointI {

    CommonResult<OrderRiskNotifyDto> riskStatusParse(HttpServletRequest request, ChannelRiskOrderContext channelRiskOrderContext);

    CommonResult<String> queryComplaintNotify(ChannelRiskOrderContext channelComplaintOrderContext);

    CommonResult<String> saveRiskNotifyUrl(ChannelRiskOrderContext channelRiskOrderContext);

    String callBackResponse(CommonResult commonResult);
}
